Skip to content

chore: auto-install cargo-nextest in just test#113

Open
OmarAshour02 wants to merge 1 commit into
restatedev:mainfrom
OmarAshour02:justfile-auto-install-nextest
Open

chore: auto-install cargo-nextest in just test#113
OmarAshour02 wants to merge 1 commit into
restatedev:mainfrom
OmarAshour02:justfile-auto-install-nextest

Conversation

@OmarAshour02

@OmarAshour02 OmarAshour02 commented May 15, 2026

Copy link
Copy Markdown

Summary

  • just verify calls cargo nextest run, but the justfile didn't install cargo-nextest, so new contributors hit error: no such command: nextest on their first run.
  • Adds a _nextest-installed recipe (mirroring the existing _target-installed pattern) that installs cargo-nextest if missing.
  • Falls back to cargo-nextest 0.9.128 when the latest release's MSRV exceeds the toolchain pinned in rust-toolchain.toml (currently 1.90.0; latest nextest needs 1.91+).

Test plan

  • Fresh shell without cargo-nextest installed: just verify triggers install
  • Shell with current cargo-nextest already installed: just verify is a no-op for the install step
  • On a host whose rustc is older than the latest nextest's MSRV: fallback to 0.9.128 kicks in

`just verify` calls `cargo nextest run` but the justfile did not
install cargo-nextest, so new contributors hit `error: no such command:
nextest`. Mirror the existing `_target-installed` pattern by adding a
`_nextest-installed` recipe that installs cargo-nextest if missing,
falling back to 0.9.128 when the latest release's MSRV exceeds the
toolchain pinned in `rust-toolchain.toml`.
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@OmarAshour02

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant